<%@page import="java.util.Map"%>
<%@page import="com.bill.common.business.service.IBuyService"%>
<%@page import="com.bill.common.business.service.ISellService"%>
<%@page import="org.springframework.web.context.support.WebApplicationContextUtils"%>
<%@page import="org.springframework.context.ApplicationContext"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%

ApplicationContext ac = WebApplicationContextUtils.getWebApplicationContext(getServletContext());
ISellService sellService = (ISellService)ac.getBean("sellService");
IBuyService buyService = (IBuyService)ac.getBean("buyService");

Map<String,Double> lt2AllSell = sellService.lt2AllSell();
request.setAttribute("lt2AllSell", lt2AllSell);

Double undoneAllBuy = buyService.undoneAllBuy();
request.setAttribute("undoneAllBuy", undoneAllBuy);

%>    
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>数据统计</title>
</head>
<body>
<br>
下一次拆分之前没卖出股数：${lt2AllSell.lt2AllSell1}
<br><br>
下一次拆分之前没卖出股总金额：${lt2AllSell.lt2AllSell2}
<br><br>
正在排队买入总金额:${undoneAllBuy }

</body>
</html>